package com.freeman.boot.auth;


import com.freeman.boot.user.User;
import com.taobao.api.domain.BizResult;

public interface AuthService {
    User register(User userToAdd);
    String login(String username, String password);
    String refresh(String oldToken);

    BizResult sendSms(SMS sms);

}